/*    */ package com.wzh.action.front.custom;
/*    */ 
/*    */ import com.wzh.action.front.CommonAction;
/*    */ import com.wzh.utils.WebTool;
/*    */ import org.apache.struts2.ServletActionContext;
/*    */ import org.springframework.stereotype.Controller;
/*    */ 
/*    */ @Controller
/*    */ public class CustomAction extends CommonAction
/*    */ {
/*    */   private static final long serialVersionUID = 4476375183657718058L;
/*    */   private String temname;
/* 19 */   private int page = 1;
/*    */ 
/*    */   public int getPage()
/*    */   {
/* 24 */     return this.page;
/*    */   }
/*    */ 
/*    */   public void setPage(int page) {
/* 28 */     this.page = page;
/*    */   }
/*    */ 
/*    */   public String getTemname() {
/* 32 */     return this.temname;
/*    */   }
/*    */ 
/*    */   public void setTemname(String temname) {
/* 36 */     this.temname = temname;
/*    */   }
/*    */ 
/*    */   public String index() {
/* 40 */     if (WebTool.isMHost(ServletActionContext.getRequest()))
/*    */     {
/* 42 */       this.template += "/mobile";
/*    */     }
/* 44 */     return "index";
/*    */   }
/*    */ }

/* Location:           C:\work\apache-tomcat-7.0.55\webapps\ROOT\WEB-INF\classes\
 * Qualified Name:     com.wzh.action.front.custom.CustomAction
 * JD-Core Version:    0.6.1
 */